package cn.kgc.xinwen.service;

import cn.kgc.xinwen.pojo.Detail;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-05-29 8:46
 */
public interface DetailService {

    //分页查询
    PageInfo<Detail> pageInfo(Integer pageNum,Integer pageSize,Integer categoryId,String title);


    //根据id查询
    public Detail selectById(Integer id);

    //修改
    public Integer update(Detail detail);

}
